package com.koron.order.maintain.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.maintain.bean.dto.MaintainDispatchDto;
import com.koron.order.maintain.bean.vo.MaintainDispatchVo;
import org.koron.ebs.mybatis.SessionFactory;

public interface MaintainDispatchService extends CommonService {

    int insertOrUpdate(SessionFactory factory, MaintainDispatchDto dto);

    int deleteById(SessionFactory factory, String id);

    int deleteByOrderId(SessionFactory factory, String orderId);

    MaintainDispatchVo queryByOrderId(SessionFactory factory, String orderId);

}
